-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata rework #33
Metadata rework #33
Conversation
src/ome2024_ngff_challenge/resave.py
Outdated
Modality: confocal microscopy {cmd} in.zarr out.zarr --cc0 --rocrate-modality=obo:FBbi_00000251 | ||
Modality: two-photon laser scanning {cmd} in.zarr out.zarr --cc0 --rocrate-modality=obo:FBbi_00000253 | ||
Modality: two-photon laser scanning {cmd} in.zarr out.zarr --cc0 --rocrate-modality=obo:FBbi_00000253 | ||
Modality: scanning electrom microscopy {cmd} in.zarr out.zarr --cc0 --rocrate-modality=obo:FBbi_00000257 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: electrom
Do we want to validate modality at-all? I know that actually validating for real (look-up) is a pain, but do we want to avoid: --rocrate-modality=light_sheet
and check that the term e.g. starts with obo:FBbi_
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷🏽 cc: @AybukeKY @sherwoodf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter is easiest and can definitely be the starting point. I know I suggested the look-up but I guess sticking to the fbbi may also help us somewhat avoid/ignore the wider problem that not everything (e.g. new tech) is on fbbi.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well verifying that it starts with obo:FBbi_ won't solve fbbi not being up to date, but since it's a taxonomy i'd expect there to be some generic type that's relevant, even if it's not the most specific one a user would like to have.
I think validating that it starts with obo:FBbi or i guess http://purl.obolibrary.org/obo/FBbi_
would probably cover most cases/push people enough to actually go look up values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sidenote: have this working locally
ome2024-ngff-challenge lookup light-sheet
ONTOLOGY TERM LABEL DESCRIPTION
fbbi FBbi_00000364 light-sheet illumination illumination in the form of a thin sheet of light directed perpendicul
fma FMA_50608 Sheet
snomed SNOMED_257402009 Polytetrafluoroethylene sheet
envo ENVO_01000507 iron sheet An iron sheet is a mass of iron which has been forged into a roughly p
envo ENVO_00000132 ice sheet A glacier which covers an area of greater than 50,000 square kilometer
go GO_0098646 collagen sheet A protein complex that consists of collagen triple helices associated
foodon FOODON_03301340 rice sheet SIREN DB annotation:
ncit NCIT_C13802 Beta Sheet In a b-sheet two or more polypeptide chains run alongside each other a
uberon UBERON_0010136 epithelial sheet An epithelial sheet is a flat surface consisting of closely packed epi
snomed SNOMED_467440008 Cranioplasty sheet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created #34 to capture this so I can move forward with this PR.
Thanks, @will-moore. Fixes pushed for most of the above. Another question I have is whether to move from |
@joshmoore I don't mind E.g.
|
3a57fa9
to
eaf05e0
Compare
idr0010 plate exported with commit c122913 above:
converted with:
But I can't reproduce that - working fine with other images and plates... 👍 |
Proposed changes from the 20240821 morning challenge chat:
resave
subcommand to allow future commands (see below)Follow-up work will include: